package com.baijiaoxi.utils.excel;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Created by Zcl on 2017-9-5.
 */
@Data
@Deprecated
public class ExcelExport<T> {
    private String excelTitle;
    private String[] title;
    private String sheetTitle;
    private String tableTitle;
    private List<T> list;
    private Map<String, String> columns;
    private Map<String, Map<String, String>> columnFormatMaps;

    public ExcelExport(String excelTitle, Map<String, String> columns, String sheetTitle, List<T> list,String tableTitle) {
        this.excelTitle = excelTitle;
        this.columns = columns;
        this.sheetTitle = sheetTitle;
        this.tableTitle = tableTitle;
        this.list = list;
    }

    public ExcelExport(String excelTitle, Map<String, String> columns, String sheetTitle, List<T> list,String tableTitle, Map<String, Map<String, String>> columnFormatMaps) {
        this.excelTitle = excelTitle;
        this.columns = columns;
        this.sheetTitle = sheetTitle;
        this.list = list;
        this.columnFormatMaps = columnFormatMaps;
        this.tableTitle = tableTitle;
    }

    public ExcelExport() {
    }
}
